﻿using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace BookShop.DTO
{
    public class RateComment
    {
        public long Id { get; set; }
        public long BookId { get; set; }
        public long CustomerId { get; set; }
        public string CommentContent { get; set; }
        public double RatePoint { get; set; }
        public DateTime CreateTime { get; set; }
        public int Status { get; set; }

        [NotMapped]
        public string BookTitle { get; set; }
        [NotMapped]
        public string CustomerName { get; set; }
    }
}
